&lt;cfcomponent hint="Parent class for all models. Provides a common way to attach form values in a model."&gt;
	&lt;cfscript&gt;
	&lt;/cfscript&gt;
	&lt;cffunction name="setValues"&gt;
		&lt;cfargument name="data_struct" type="struct" /&gt;
		&lt;cfset props = deserializeJSON(this.properties) /&gt;
		&lt;cfloop collection="#arguments.data_struct#" item="i"&gt;
			&lt;cfloop collection="#arguments.data_struct[i]#" item="j"&gt;
				&lt;cfloop collection="#arguments.data_struct[i][j]#" item="h"&gt;
					&lt;!--- some extra info, see notes ---&gt;
					&lt;cfset props[i][j][h] = arguments.data_struct[i][j][h] /&gt;
				&lt;/cfloop&gt;
			&lt;/cfloop&gt;
		&lt;/cfloop&gt;
		&lt;cfset this.properties = serializeJSON(props) /&gt;
	&lt;/cffunction&gt;
&lt;/cfcomponent&gt;